/**
 *  iBizSys 5.0 机器人生产代码（不要直接修改当前代码）
 *  http://www.ibizsys.net
 */
package com.sa.litetwo.app.srv.card.ctrlmodel;


import java.util.ArrayList;
import java.util.List;
import net.ibizsys.paas.util.StringHelper;
import net.ibizsys.paas.web.AjaxActionResult;
import net.ibizsys.paas.web.WebContext;
import net.ibizsys.paas.util.GlobalContext;
import net.ibizsys.paas.core.IDEDataSetCond;
import net.ibizsys.paas.core.DEDataSetCond;
import net.ibizsys.paas.core.DEDataSetFetchContext;
import net.ibizsys.paas.db.DBFetchResult;
import net.ibizsys.paas.web.WebContext;
import net.ibizsys.paas.util.DataTypeHelper;
import net.ibizsys.paas.data.IDataObject;
import net.ibizsys.paas.datamodel.DataItemModel;
import net.ibizsys.paas.datamodel.DataItemParamModel;
import net.ibizsys.paas.entity.EntityFieldError;
import net.ibizsys.paas.entity.EntityError;
import net.ibizsys.paas.demodel.IDataEntityModel;
import net.ibizsys.paas.demodel.DEModelGlobal;

import net.ibizsys.paas.control.drctrl.DRCtrlItem;
import net.ibizsys.paas.control.drctrl.DRCtrlRootItem;

/**
 * 实体[简历信息卡]数据关系栏[drbar]部件模型
 */
public class  GG_CARDDefaultDRBarModel extends net.ibizsys.paas.ctrlmodel.DRBarModelBase{
   
    public GG_CARDDefaultDRBarModel(){
        super();
    }
  
    @Override
    protected void onInit() throws Exception
    {
       super.onInit();
    }

      private com.sa.litetwo.srv.card.demodel.GG_CARDDEModel gG_CARDDEModel;
     protected  com.sa.litetwo.srv.card.demodel.GG_CARDDEModel getGG_CARDDEModel() {
            if(this.gG_CARDDEModel==null){
                try
                {
                     this.gG_CARDDEModel = (com.sa.litetwo.srv.card.demodel.GG_CARDDEModel)DEModelGlobal.getDEModel("com.sa.litetwo.srv.card.demodel.GG_CARDDEModel");
                }
                catch(Exception ex)
                {
                }
            }
           return this.gG_CARDDEModel;
      }

      @Override
      public IDataEntityModel getDEModel() {
          return this.getGG_CARDDEModel();
      }

    /**
     * 准备数据关系根节点
     * @param drCtrlRootItem
     * @throws Exception
     */
    @Override
    protected void onPrepareRootItem(DRCtrlRootItem drCtrlRootItem) throws Exception{

        //添加 简历信息卡
        DRCtrlItem drCtrlItem0 = drCtrlRootItem.addItem("form","");
        drCtrlItem0.setText("简历信息卡");
        drCtrlItem0.setDRViewId("");
        drCtrlItem0.setExpanded(true);
        drCtrlItem0.setTextLanResTag("DE.LNAME.GG_CARD");
        drCtrlItem0.setIconPath("");
        drCtrlItem0.setIconCls("");
        drCtrlItem0.setEnableMode("ALL");
        //添加 详细信息
        DRCtrlItem drCtrlItem1 = drCtrlRootItem.addItem("f070f745e7b1308373f3db46b3337300","form");
        drCtrlItem1.setText("详细信息");
        drCtrlItem1.setDRViewId("");
        drCtrlItem1.setExpanded(true);
        drCtrlItem1.setTextLanResTag("");
        drCtrlItem1.setIconPath("");
        drCtrlItem1.setIconCls("");
        drCtrlItem1.setEnableMode("ALL");
        //添加 项目经验
        DRCtrlItem drCtrlItem2 = drCtrlRootItem.addItem("dritem1","f070f745e7b1308373f3db46b3337300");
        drCtrlItem2.setText("项目经验");
        drCtrlItem2.setDRViewId("DRITEM1");
        drCtrlItem2.setTextLanResTag("");
        drCtrlItem2.setIconPath("");
        drCtrlItem2.setIconCls("fa fa-paypal");
        drCtrlItem2.setEnableMode("ALL");
        drCtrlItem2.setViewParam("srfparentdeid","f070f745e7b1308373f3db46b3337300");
        drCtrlItem2.setViewParam("srfparenttype","DER1N");
        drCtrlItem2.setViewParam("srfder1nid","DER1N_GG_PROJ_GG_CARD_CARDID");
        //添加 工作经历
        DRCtrlItem drCtrlItem3 = drCtrlRootItem.addItem("dritem2","f070f745e7b1308373f3db46b3337300");
        drCtrlItem3.setText("工作经历");
        drCtrlItem3.setDRViewId("DRITEM2");
        drCtrlItem3.setTextLanResTag("");
        drCtrlItem3.setIconPath("");
        drCtrlItem3.setIconCls("fa fa-newspaper-o");
        drCtrlItem3.setEnableMode("ALL");
        drCtrlItem3.setViewParam("srfparentdeid","f070f745e7b1308373f3db46b3337300");
        drCtrlItem3.setViewParam("srfparenttype","DER1N");
        drCtrlItem3.setViewParam("srfder1nid","DER1N_GG_WORK_GG_CARD_CARDID");
        //添加 教育经历
        DRCtrlItem drCtrlItem4 = drCtrlRootItem.addItem("dritem3","f070f745e7b1308373f3db46b3337300");
        drCtrlItem4.setText("教育经历");
        drCtrlItem4.setDRViewId("DRITEM3");
        drCtrlItem4.setTextLanResTag("");
        drCtrlItem4.setIconPath("");
        drCtrlItem4.setIconCls("fa fa-file-archive-o");
        drCtrlItem4.setEnableMode("ALL");
        drCtrlItem4.setViewParam("srfparentdeid","f070f745e7b1308373f3db46b3337300");
        drCtrlItem4.setViewParam("srfparenttype","DER1N");
        drCtrlItem4.setViewParam("srfder1nid","DER1N_GG_EDU_GG_CARD_CARDID");
        //添加 校内荣誉
        DRCtrlItem drCtrlItem5 = drCtrlRootItem.addItem("dritem4","f070f745e7b1308373f3db46b3337300");
        drCtrlItem5.setText("校内荣誉");
        drCtrlItem5.setDRViewId("DRITEM4");
        drCtrlItem5.setTextLanResTag("");
        drCtrlItem5.setIconPath("");
        drCtrlItem5.setIconCls("fa fa-bullhorn");
        drCtrlItem5.setEnableMode("ALL");
        drCtrlItem5.setViewParam("srfparentdeid","f070f745e7b1308373f3db46b3337300");
        drCtrlItem5.setViewParam("srfparenttype","DER1N");
        drCtrlItem5.setViewParam("srfder1nid","DER1N_GG_GRDHONOR_GG_CARD_CARDID");
        //添加 校内任职
        DRCtrlItem drCtrlItem6 = drCtrlRootItem.addItem("dritem5","f070f745e7b1308373f3db46b3337300");
        drCtrlItem6.setText("校内任职");
        drCtrlItem6.setDRViewId("DRITEM5");
        drCtrlItem6.setTextLanResTag("");
        drCtrlItem6.setIconPath("");
        drCtrlItem6.setIconCls("fa fa-user-plus");
        drCtrlItem6.setEnableMode("ALL");
        drCtrlItem6.setViewParam("srfparentdeid","f070f745e7b1308373f3db46b3337300");
        drCtrlItem6.setViewParam("srfparenttype","DER1N");
        drCtrlItem6.setViewParam("srfder1nid","DER1N_GG_GRDPOST_GG_CARD_CARDID");
        //添加 技能/语言
        DRCtrlItem drCtrlItem7 = drCtrlRootItem.addItem("dritem6","f070f745e7b1308373f3db46b3337300");
        drCtrlItem7.setText("技能/语言");
        drCtrlItem7.setDRViewId("DRITEM6");
        drCtrlItem7.setTextLanResTag("");
        drCtrlItem7.setIconPath("");
        drCtrlItem7.setIconCls("fa fa-legal");
        drCtrlItem7.setEnableMode("ALL");
        drCtrlItem7.setViewParam("srfparentdeid","f070f745e7b1308373f3db46b3337300");
        drCtrlItem7.setViewParam("srfparenttype","DER1N");
        drCtrlItem7.setViewParam("srfder1nid","DER1N_GG_SKILL_GG_CARD_CARDID");
        //添加 证书
        DRCtrlItem drCtrlItem8 = drCtrlRootItem.addItem("dritem7","f070f745e7b1308373f3db46b3337300");
        drCtrlItem8.setText("证书");
        drCtrlItem8.setDRViewId("DRITEM7");
        drCtrlItem8.setTextLanResTag("");
        drCtrlItem8.setIconPath("");
        drCtrlItem8.setIconCls("fa fa-book");
        drCtrlItem8.setEnableMode("ALL");
        drCtrlItem8.setViewParam("srfparentdeid","f070f745e7b1308373f3db46b3337300");
        drCtrlItem8.setViewParam("srfparenttype","DER1N");
        drCtrlItem8.setViewParam("srfder1nid","DER1N_GG_CERTIF_GG_CARD_CARDID");
        //添加 培训经历
        DRCtrlItem drCtrlItem9 = drCtrlRootItem.addItem("dritem8","f070f745e7b1308373f3db46b3337300");
        drCtrlItem9.setText("培训经历");
        drCtrlItem9.setDRViewId("DRITEM8");
        drCtrlItem9.setTextLanResTag("");
        drCtrlItem9.setIconPath("");
        drCtrlItem9.setIconCls("fa fa-edit");
        drCtrlItem9.setEnableMode("ALL");
        drCtrlItem9.setViewParam("srfparentdeid","f070f745e7b1308373f3db46b3337300");
        drCtrlItem9.setViewParam("srfparenttype","DER1N");
        drCtrlItem9.setViewParam("srfder1nid","DER1N_GG_TRAIN_GG_CARD_CARDID");
        //添加 附件
        DRCtrlItem drCtrlItem10 = drCtrlRootItem.addItem("dritem9","f070f745e7b1308373f3db46b3337300");
        drCtrlItem10.setText("附件");
        drCtrlItem10.setDRViewId("DRITEM9");
        drCtrlItem10.setTextLanResTag("");
        drCtrlItem10.setIconPath("");
        drCtrlItem10.setIconCls("fa fa-files-o");
        drCtrlItem10.setEnableMode("ALL");
        drCtrlItem10.setViewParam("srfparentdeid","f070f745e7b1308373f3db46b3337300");
        drCtrlItem10.setViewParam("srfparenttype","DER1N");
        drCtrlItem10.setViewParam("srfder1nid","DER1N_GG_ATTACH_GG_CARD_CARDID");
        //添加 其他信息
        DRCtrlItem drCtrlItem11 = drCtrlRootItem.addItem("dritem10","f070f745e7b1308373f3db46b3337300");
        drCtrlItem11.setText("其他信息");
        drCtrlItem11.setDRViewId("DRITEM10");
        drCtrlItem11.setTextLanResTag("");
        drCtrlItem11.setIconPath("");
        drCtrlItem11.setIconCls("fa fa-file-video-o");
        drCtrlItem11.setEnableMode("ALL");
        drCtrlItem11.setViewParam("srfparentdeid","f070f745e7b1308373f3db46b3337300");
        drCtrlItem11.setViewParam("srfparenttype","DER1N");
        drCtrlItem11.setViewParam("srfder1nid","DER1N_GG_OTHER_GG_CARD_CARDID");
    }
}